package com.example.zrq1010110087.graceplayer.format;

/**
 * Created by zrq1010110087 on 2017/10/27.
 */

public class FormatUntils {

    public static String ms_Format_minANDs(int msec) {
        int minute = msec / 1000 / 60;
        int second = msec / 1000 % 60;
        String minuteString;
        String secondString;
        if (minute < 10) {
            minuteString = "0" + minute;
        } else {
            minuteString = "" + minute;
        }
        if (second < 10) {
            secondString = "0" + second;
        } else {
            secondString = "" + second;
        }
        return minuteString + ":" + secondString;
    }
    private  static String  ms_Format_hourANDminANDs(){

        return "";
    }

}
